package com.example.patient.dto.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName AppointmentCheckUpDto
 * @Author wengjt
 * @Date 2021/5/13 9:54
 * @Description
 **/
@ApiModel
@Data
public class AppointmentCheckUpDto {
    @ApiModelProperty("体检套餐id")
    private Long cpId;
    @ApiModelProperty("病患id")
    private Long pid;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("预约时间")
    private Date reserve;
    @ApiModelProperty("联系人")
    private String linkman;
    @ApiModelProperty("联系电话")
    private String linkTel;
}
